<!DOCTYPE html>
<head lang="en">
    <meta charset="UTF-8">
    <title>增加会员</title>
    <link rel="stylesheet" href="../css/bootstrap.min.css"/>
    <link rel="stylesheet" type="text/css" href="../lib/toast/angular-toastr.min.css"/>
    <link rel="stylesheet" href="../lib/angular/loadingBar/lbar.black.css"/>


</head>
<body style="padding: 10px;" ng-app="myApp" ng-controller="customerTemplateCtrl">
<header ng-include="'../html/part/header.html'" class="abs-header"></header>
<br><br><br>

<h2>会员信息</h2>
<hr>

<div class="input-group">
    <input ng-model="customer.num" type="number" class="form-control" placeholder="会员号" required/><br><br>
    <input ng-model="customer.preNum" type="number" class="form-control" placeholder="推荐人会员号"><br><br><br>
    选填信息：
    <input ng-model="customer.phone" type="text" class="form-control" placeholder="手机号码"><br><br>
    <input ng-model="customer.name" type="text" class="form-control" placeholder="会员名"><br><br>
    <input ng-model="customer.sex" type="text" class="form-control" placeholder="性别"><br><br>
    <input ng-model="customer.age" type="number" class="form-control" placeholder="年龄"><br><br>
</div>
<div class="bottom-right">
    <button ng-click="saveCustomer(customer.num,customer.phone,customer.name,customer.sex,customer.age,customer.preNum)" class="btn btn-info">
        保存</button>
</div>

<br><br><br>
<footer ng-include="'../html/part/footer.html'"></footer>
</body>
<script type="text/javascript" src="../lib/angular/angular.min.js"></script>
<script type="text/javascript" src="../lib/angular/angular-cookies.js"></script>
<script type="text/javascript" src="../lib/angular/angular-ui-router.min.js"></script>
<script type="text/javascript" src="../js/controller/services/model.js"></script>
<script type="text/javascript" src="../js/controller/customerTemplate.ctrl.js"></script>
</html>